Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration: don't delete old PVC by default during upgrade (PROJQUAY-7182) #919

Merged
merged 1 commit into from
May 30, 2024

Conversation

Sunandadadi
Copy link
Contributor

Removing check to delete old PVC, don't delete it by default.

@Sunandadadi
Copy link
Contributor Author

/retest

if os.Getenv("POSTGRES_UPGRADE_RETAIN_BACKUP") == "true" {
continue
}
//if os.Getenv("POSTGRES_UPGRADE_RETAIN_BACKUP") == "true" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of removing this completely, can we just reverse the flag? To something like POSTGRES_UPGRADE_DELETE_BACKUP ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, that's a good idea

Copy link
Collaborator

@jonathankingfc jonathankingfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Sunandadadi
Copy link
Contributor Author

/retest

@Sunandadadi Sunandadadi merged commit 1564d59 into master May 30, 2024
11 checks passed
@Sunandadadi Sunandadadi deleted the PROJQUAY-7182 branch May 30, 2024 13:52
@Sunandadadi
Copy link
Contributor Author

/cherrypick redhat-3.11

@openshift-cherrypick-robot

@Sunandadadi: new pull request created: #921

In response to this:

/cherrypick redhat-3.11

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Sunandadadi
Copy link
Contributor Author

/cherrypick redhat-3.10

@openshift-cherrypick-robot

@Sunandadadi: new pull request created: #922

In response to this:

/cherrypick redhat-3.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Sunandadadi
Copy link
Contributor Author

/cherrypick redhat-3.9

@openshift-cherrypick-robot

@Sunandadadi: new pull request created: #923

In response to this:

/cherrypick redhat-3.9

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants